import * as CONSTANT from '../constant'


export const nameAction = (payload)=>{
    return {type:CONSTANT.INPUT_NAME,payload:payload} //=> {type:'INPUT_NAME',payload:'zhangsan'}
}
export const ageAction = (payload)=>{
    return {type:CONSTANT.INPUT_AGE,payload}
}